package com.alks.entity.data.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 耗品出入库明细
 * </p>
 *
 * @author ms
 * @since 2023-08-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("PC_SLIP_DETAIL_PART_BF")
@ApiModel(value="PcSlipDetailPartBf对象", description="耗品出入库明细")
public class PcSlipDetailPartBf2 implements Serializable {

    private static final long serialVersionUID = 1L;
    private String id;
    private String companyId;

    @TableId(type = IdType.NONE)
    private String stockNo;

    @ApiModelProperty(value = "出入库单号")
    private String slipNo;

    @ApiModelProperty(value = "材料编号")
    private String mtlNo;

    @ApiModelProperty(value = "材料颜色")
    private String mtlColor;

    @ApiModelProperty(value = "材料名称")
    private String mtlName;

    @ApiModelProperty(value = "材料规格")
    private String mtlSpec;

    @ApiModelProperty(value = "材料单位")
    private String mtlUnit;

    @ApiModelProperty(value = "数量")
    private BigDecimal qty;

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "序号")
    private Integer item;

    @ApiModelProperty(value = "出入库时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date slipDate;

    @ApiModelProperty(value = "部门ID")
    private String deptNo;

    @ApiModelProperty(value = "部门名称")
    private String deptName;

    @ApiModelProperty(value = "订单类型（I/O）")
    private String slipType;

    @ApiModelProperty(value = "出入库原因")
    private String slipReason;

    @ApiModelProperty(value = "送货时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date sysDate;

    @ApiModelProperty(value = "仓管员ID")
    private String sysUser;

    @ApiModelProperty(value = "厂商ID")
    private String vendorNo;

    @ApiModelProperty(value = "厂商名称")
    private String vendorName;

    @ApiModelProperty(value = "单价")
    private BigDecimal price;

    private String prices;

    @ApiModelProperty(value = "总价")
    private BigDecimal amt;

    private String amts;

    private String cfmFlag;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date cfmDate;

    private String cfmUser;

    private String financeMemo;

    private String financeYymm;

    private String purNo;

    @ApiModelProperty(value = "送货单号")
    private String sendNo;

    private String financeCfmFlag;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date financeCfmDate;

    private String financeCfmUser;

    private String accountName;

    private String balanceNo;

    //财务标记
    private String recFlag;

}
